class CreateRegisters < ActiveRecord::Migration
  def self.up
    create_table :registers, :id => false do |t|
      t.column :student_id, :integer
      t.column :group_id, :integer

      t.timestamps
    end
  end

  def self.down
    drop_table :registers
  end
end
